package com.tsingtree.modular.service;

import com.tsingtree.modular.entity.NanSellerDevice;
import com.tsingtree.modular.entity.NanSellerTag;
import com.tsingtree.modular.entity.NanUser;
import com.tsingtree.modular.model.params.NanSellerTagParam;
import com.tsingtree.modular.model.result.NanSellerTagResult;
import com.baomidou.mybatisplus.extension.service.IService;
import java.util.List;
import com.tsingtree.base.pojo.page.LayuiPageInfo;

/**
 * <p>
 * 运营组用户分组 服务类
 * </p>
 *
 * @author jagger
 * @since 2024-07-09
 */
public interface NanSellerTagService extends IService<NanSellerTag> {

    /**
     * 新增
     *
     * @author jagger
     */
    void add(NanSellerTagParam param);

    /**
     * 删除
     *
     * @author jagger
     */
    void delete(NanSellerTagParam param);

    /**
     * 更新
     *
     * @author jagger
     */
    void update(NanSellerTagParam param);

    /**
     * 查询单条数据，Specification模式
     *
     * @author jagger
     */
    NanSellerTagResult findBySpec(NanSellerTagParam param);

    /**
     * 查询列表，Specification模式
     *
     * @author jagger
     */
    List<NanSellerTagResult> findListBySpec(NanSellerTagParam param);

    /**
     * 查询分页数据，Specification模式
     *
     * @author jagger
     */
     LayuiPageInfo findPageBySpec(NanSellerTagParam param);

    void remove(NanSellerTag byId, List<NanUser> nanUsers, List<NanSellerDevice> nanSellerDevices);
}
